<div ng-include="sys_html('layout/_header')"></div>
<div class="ncm-container">  
	<div ng-include="sys_html('layout/member/left-layout')"></div>
    <link rel="stylesheet" type="text/css" href="../addons/jy_weishop/resource/pc/css/dcalendar.picker.css"  />
    <div class="right-layout">
        <link href="../addons/jy_weishop/resource/pc/css/font-awesome.min.css" rel="stylesheet" />
        <div class="wrap">
			<div ng-include="sys_html('layout/member/tabmenu')"></div>
			<div class="fui-page fui-page-current " ng-if="pagedata.op=='list'">
				<div class="fui-content">        
					<div class="fui-tab fui-tab-warning" id="tab">
						<a ng-repeat="(k,v) in pagedata.status" ng-click="pagedata.params.status=k;tool.get_list('getlist',true)" ng-class="{'active':pagedata.params.status==k}" href="javascript:;">{{v}}</a>		
					</div>
					<div class="fui-cell-group order-item" ng-repeat="item in pagedata.list track by item.id">
							<a class="fui-cell">
								<div class="fui-cell-text">
									<span class="subtitle"> 关联订单号: {{item.ordersn}}</span>
								</div>
								<div class="fui-cell-text red" style="width: 100%; font-size: 16px;text-align: right;">{{pagedata.status[item.status]}}</div>
							</a> 
							<div class="fui-cell">
								<div class="fui-cell-text">
								<div><i class="icon icon-trade" style="font-size: 16px"></i>申请退款金额：{{item.price}}</div>
								<div><i class="icon icon-clock" style="font-size: 16px"></i>申请时间：{{item.createtime}}</div>
								</div>
							</div>
							<div class="fui-cell">
								<span ng-if="item.content"> <i class="icon icon-clock" style="font-size: 0.65rem"></i> 申请说明：{{item.content}}</span>
							</div>
							<div class="fui-cell">
								<span ng-if="item.reason && item.status == 5"> <i class="icon icon-clock" style="font-size: 0.65rem"></i> 审核说明：{{item.reason}}</span>
							</div>
						<div class="fui-list-group-title lineblock opblock">
							<span class="status noremark" style="float:right">
								<div ng-if="item.status == 1 && item.type <= 2" class="btn btn-sm btn-default-o order-delete" href="javascript:" ng-click="access_json('//send/id='+item.id)">退货商品发货</div>
								<div ng-if="item.status == 2 && item.type <= 2" class="btn btn-sm btn-default-o order-delete" href="javascript:" ng-click="access_json('//send/id='+item.id)">修改退货快递信息</div>
								<div ng-if="item.status == 5" class="btn btn-sm btn-danger-o order-finish" href="javascript:" ng-click="access_json('jy_weishop/order.refund/apply/isup=1&orderid='+item.orderid)">重新提交申请</div>
								<div ng-if="item.status == 0 || item.status == 5" class="btn btn-sm btn-danger-o order-finish" href="javascript:" ng-click="post({id:item.id},'jy_weishop/order.refund/cancel/')">取消申请</div>
							</span>
						</div>
					</div>
					</div>
					<div class='infinite-loading' style="display:none" id="loading_show"><span class='fui-preloader'></span><span class='text'> 正在加载...</span></div>
					<div ng-if="pagedata.list.length==0 && pagedata.loaded" class='content-empty' >
						<img src="../core/resource/images/nomeb.png" style="width: 6rem;margin-bottom: .5rem;"><br/><p style="color: #999;font-size: .75rem">暂时没有退货申请</p>
					</div>
			</div>
<script>
	scope.tool.get_list('getlist',true);
	scope.scroll_bottom=function(){
		scope.tool.get_list('getlist');
	}
</script>
<style>
    .fui-footer .btn{
        border-radius: 1rem;
        margin-top: .6rem;
        min-width: 4.1rem;
    }
    .fui-footer{
        padding-right: .6rem;
    }
    .fui-footer .btn.btn-default-o {
        border-color: #666;
        color: #666;
    }
    .fui-title.r-group{
        background: #f3f3f3;
        margin: 0;
        padding: .5rem .6rem;
    }
    .fui-cell-group .fui-cell.noborder:before{
        border:0;
    }
</style>
<style>
.form-group{width:100%;display: inline-block;}
.col-sm-1,.col-sm-10,.col-sm-11,.col-sm-12,.col-sm-2,.col-sm-3,.col-sm-4,.col-sm-5,.col-sm-6,.col-sm-7,.col-sm-8,.col-sm-9 {
	float:left
}
.col-sm-12 {
	width:100%
}
.col-sm-11 {
	width:91.66666667%
}
.col-sm-10 {
	width:83.33333333%
}
.col-sm-9 {
	width:75%
}
.col-sm-8 {
	width:66.66666667%
}
.col-sm-7 {
	width:58.33333333%
}
.col-sm-6 {
	width:50%
}
.col-sm-5 {
	width:41.66666667%
}
.col-sm-4 {
	width:33.33333333%
}
.col-sm-3 {
	width:25%
}
.col-sm-2 {
	width:16.66666667%
}
.col-sm-1 {
	width:8.33333333%
}
/*modal*/
.right-label {
	padding-top:7px;
	margin-bottom:0;
	text-align:right;
	max-width:128px;
}
.left-label {
	padding-top:7px;
	margin-bottom:0;
	text-align:left;
	max-width:128px;
}
.modal-backdrop {
	z-index:1020
}
.modal-open {
	overflow:inherit;
	padding:0!important
}
.modal.fade .modal-dialog {
	-webkit-transform:translate(0,-75%);
	-ms-transform:translate(0,-75%);
	-o-transform:translate(0,-75%);
	transform:translate(0,-75%)
}
.modal.in .modal-dialog {
	-webkit-transform:translate(0,-50%);
	-ms-transform:translate(0,-50%);
	-o-transform:translate(0,-50%);
	transform:translate(0,-50%)
}
.jinyun-modal-dialog,.modal-dialog {
	/*min-width:720px!important;*/
	position:absolute;
	left:0;
	right:0;
	top:50%
}
.jinyun-modal-dialog .modal-content,.modal-dialog .modal-content {
	border-radius:0
}
.jinyun-modal-dialog .modal-header,.modal-dialog .modal-header {
	background-color:#f4f5f9;
	border-bottom:0
}
.jinyun-modal-dialog .modal-header .modal-title,.jinyun-modal-dialog .modal-header h3,.modal-dialog .modal-header .modal-title,.modal-dialog .modal-header h3 {
	font-size:14px
}
.jinyun-modal-dialog .modal-header h3,.modal-dialog .modal-header h3 {
	margin:0;
	padding:0
}
.jinyun-modal-dialog .modal-body,.modal-dialog .modal-body {
	padding:30px;
	max-height:500px;
	overflow-y:auto;
	overflow-x:hidden
}
.jinyun-modal-dialog .modal-footer,.modal-dialog .modal-footer {
	background-color:#f4f5f9;
	border-top:0;
	text-align:center
}
.jinyun-modal-dialog .modal-footer .btn,.modal-dialog .modal-footer .btn {
	display:inline-block;
	min-width:105px
}
.jinyun-modal-dialog .nav-pills>li>a,.modal-dialog .nav-pills>li>a {
	padding:0;
	background-color:transparent;
	color:#333
}
.jinyun-modal-dialog .nav-pills>li>a:hover,.modal-dialog .nav-pills>li>a:hover {
	background-color:transparent;
	color:rgb(26, 173, 22)
}
.jinyun-modal-dialog .nav-pills>li+li,.modal-dialog .nav-pills>li+li {
	margin-left:10px
}
.jinyun-modal-dialog .jinyun-select,.modal-dialog .jinyun-select {
	width:100%
}
.modal-dialog .fa {
	font-size:16px;
	vertical-align:middle;
	margin-right:3px
}
.jinyun-modal-dialog .text-info,.modal-dialog .text-info {
	color:rgb(246, 248, 249)
}
.modal-success {
	top:50%;
	left:50%;
	right:auto;
	bottom:auto;
	margin:0 auto;
	transform:translate(-50%,-50%)
}
.modal-success.in .modal-dialog {
	min-width:250px!important;
	width:auto;
	position:relative;
	left:auto;
	right:auto;
	top:0;
	-webkit-transform:translate(0,0);
	-ms-transform:translate(0,0);
	-o-transform:translate(0,0);
	transform:translate(0,0)
}
.modal-success .modal-content {
	padding:10px 30px;
	background-color:#51A351;
	color:#fff;
	border-color:#51a351;
	font-size:14px;
	vertical-align:middle;
	border-radius:3px;
	box-shadow:0 0 0
}
.modal-success .modal-body {
	padding:6px
}
.cut-list .modal-success .item.apply-show:before,.modal-success .fa {
	color:#fff!important
}
.modal-dialog .avatar-browser {
	min-height:480px;
	line-height:0;
	color:rgb(246, 248, 249)
}
.modal-dialog .avatar-browser .thumbnail {
	display:block;
	float:left;
	width:100px;
	height:100px;
	margin-right:13px;
	cursor:pointer;
	overflow:hidden
}
.modal-dialog .avatar-browser .thumbnail:hover {
	border-color:rgb(246, 248, 249)
}
.modal-dialog .avatar-browser {
	min-height:480px;
	line-height:0;
	color:rgb(246, 248, 249)
}
.modal-dialog .avatar-browser .thumbnail {
	display:block;
	float:left;
	width:100px;
	height:100px;
	margin-right:13px;
	cursor:pointer;
	overflow:hidden
}
.modal-dialog .avatar-browser .thumbnail:hover {
	border-color:rgb(246, 248, 249)
}
.modal-edit {
	padding:0;
	position: relative
}
.modal-edit .modal-panel{
	margin: 5px;
}
.modal-sub {
	width:100%;
	position: relative;
	padding:5px;
	margin-bottom: 5px;
	text-align: center
}
.modal-sub .btn{
	min-width:188px;
}
.nav {
	padding-left:0;
	margin-bottom:0;
	list-style:none
}
.nav>li {
	position:relative;
	display:block
}
.nav>li>a {
	position:relative;
	display:block;
	padding:10px 13px
}
.nav>li>a:focus,.nav>li>a:hover {
	text-decoration:none;
	background-color:#eee
}
.nav>li.disabled>a {
	color:#777
}
.nav>li.disabled>a:focus,.nav>li.disabled>a:hover {
	color:#777;
	text-decoration:none;
	cursor:not-allowed;
	background-color:transparent
}
.nav .open>a,.nav .open>a:focus,.nav .open>a:hover {
	background-color:#eee;
	border-color:#00c568
}
.nav .nav-divider {
	height:1px;
	margin:9px 0;
	overflow:hidden;
	background-color:#e5e5e5
}
.nav>li>a>img {
	max-width:none
}
.nav-tabs {
	border-bottom:1px solid rgb(231, 231, 235)
}
.nav-tabs>li {
	float:left;
	margin-bottom:-1px
}
.nav-tabs>li>a {
	margin-right:2px;
	line-height:1.42857143;
	border:1px solid transparent;
	border-radius:4px 4px 0 0
}
.nav-tabs>li>a:hover {
	border-bottom:2px solid #18bc9c;
}
.nav-tabs>li.active>a,.nav-tabs>li.active>a:focus,.nav-tabs>li.active>a:hover {
	color:#18bc9c;
	cursor:default;
	background-color:#fff;
	border-bottom:2px solid #18bc9c;
}
.nav-tabs.nav-justified {
	width:100%;
	border-bottom:0
}
.nav-tabs.nav-justified>li {
	float:none
}
.nav-tabs.nav-justified>li>a {
	margin-bottom:5px;
	text-align:center
}
.nav-tabs.nav-justified>.dropdown .dropdown-menu {
	top:auto;
	left:auto
}
@media (min-width:768px) {
	.nav-tabs.nav-justified>li {
	display:table-cell;
	width:1%
}
.nav-tabs.nav-justified>li>a {
	margin-bottom:0
}
}.nav-tabs.nav-justified>li>a {
	margin-right:0;
	border-radius:4px
}
.nav-tabs.nav-justified>.active>a,.nav-tabs.nav-justified>.active>a:focus,.nav-tabs.nav-justified>.active>a:hover {
	border:1px solid #00c568
}
@media (min-width:768px) {
	.nav-tabs.nav-justified>li>a {
	border-bottom:1px solid #00c568;
	border-radius:4px 4px 0 0
}
.nav-tabs.nav-justified>.active>a,.nav-tabs.nav-justified>.active>a:focus,.nav-tabs.nav-justified>.active>a:hover {
	border-bottom-color:#00c568
}
}.nav-pills>li {
	float:left
}
.nav-pills>li>a {
	border-radius:4px
}
.nav-pills>li+li {
	margin-left:2px
}
.nav-pills>li.active>a,.nav-pills>li.active>a:focus,.nav-pills>li.active>a:hover {
	color:#fff;
	background-color:#00c568
}
.nav-stacked>li {
	float:none
}
.nav-stacked>li+li {
	margin-top:2px;
	margin-left:0
}
.nav-justified {
	width:100%
}
.nav-justified>li {
	float:none
}
.nav-justified>li>a {
	margin-bottom:5px;
	text-align:center
}
.nav-justified>.dropdown .dropdown-menu {
	top:auto;
	left:auto
}
@media (min-width:768px) {
	.nav-justified>li {
	display:table-cell;
	width:1%
}
.nav-justified>li>a {
	margin-bottom:0
}
}.nav-tabs-justified {
	border-bottom:0
}
.nav-tabs-justified>li>a {
	margin-right:0;
	border-radius:4px
}
.nav-tabs-justified>.active>a,.nav-tabs-justified>.active>a:focus,.nav-tabs-justified>.active>a:hover {
	border:1px solid rgb(231, 231, 235)
}
@media (min-width:768px) {
	.nav-tabs-justified>li>a {
	border-bottom:1px solid rgb(231, 231, 235);
	border-radius:4px 4px 0 0
}
.nav-tabs-justified>.active>a,.nav-tabs-justified>.active>a:focus,.nav-tabs-justified>.active>a:hover {
	border-bottom-color:#fff
}
}.tab-content>.tab-pane {
	display:none
}
.tab-content>.active {
	display:block
}
.nav-tabs .dropdown-menu {
	margin-top:-1px;
	border-top-left-radius:0;
	border-top-right-radius:0
}
.navbar {
	position:relative;
	min-height:50px;
	margin-bottom:20px;
	border:1px solid transparent
}
.btn-group,.btn-group-vertical {
	position:relative;
	display:inline-block;
	vertical-align:middle
}
.btn-group-vertical>.btn,.btn-group>.btn {
	position:relative;
	float:left
}
.btn-group-vertical>.btn.active,.btn-group-vertical>.btn:active,.btn-group-vertical>.btn:focus,.btn-group-vertical>.btn:hover,.btn-group>.btn.active,.btn-group>.btn:active,.btn-group>.btn:focus,.btn-group>.btn:hover {
	z-index:2
}
.btn-group .btn+.btn,.btn-group .btn+.btn-group,.btn-group .btn-group+.btn,.btn-group .btn-group+.btn-group {
	margin-left:-1px
}
.btn-toolbar {
	margin-left:-5px
}
.btn-toolbar .btn,.btn-toolbar .btn-group,.btn-toolbar .input-group {
	float:left
}
.btn-toolbar>.btn,.btn-toolbar>.btn-group,.btn-toolbar>.input-group {
	margin-left:5px
}
.btn-group>.btn:not(:first-child):not(:last-child):not(.dropdown-toggle) {
	border-radius:0
}
.btn-group>.btn:first-child {
	margin-left:0
}
.btn-group>.btn:first-child:not(:last-child):not(.dropdown-toggle) {
	border-top-right-radius:0;
	border-bottom-right-radius:0
}
.btn-group>.btn:last-child:not(:first-child),.btn-group>.dropdown-toggle:not(:first-child) {
	border-top-left-radius:0;
	border-bottom-left-radius:0
}
.btn-group>.btn-group {
	float:left
}
.btn-group>.btn-group:not(:first-child):not(:last-child)>.btn {
	border-radius:0
}
.btn-group>.btn-group:first-child:not(:last-child)>.btn:last-child,.btn-group>.btn-group:first-child:not(:last-child)>.dropdown-toggle {
	border-top-right-radius:0;
	border-bottom-right-radius:0
}
.btn-group>.btn-group:last-child:not(:first-child)>.btn:first-child {
	border-top-left-radius:0;
	border-bottom-left-radius:0
}
.btn-group .dropdown-toggle:active,.btn-group.open .dropdown-toggle {
	outline:0
}
.btn-group>.btn+.dropdown-toggle {
	padding-right:8px;
	padding-left:8px
}
.btn-group>.btn-lg+.dropdown-toggle {
	padding-right:12px;
	padding-left:12px
}
.btn-group.open .dropdown-toggle {
	-webkit-box-shadow:inset 0 3px 5px rgba(0,0,0,.125);
	box-shadow:inset 0 3px 5px rgba(0,0,0,.125)
}
.btn-group.open .dropdown-toggle.btn-link {
	-webkit-box-shadow:none;
	box-shadow:none
}
.btn .caret {
	margin-left:0
}
.btn-lg .caret {
	border-width:5px 5px 0;
	border-bottom-width:0
}
.dropup .btn-lg .caret {
	border-width:0 5px 5px
}
.btn-group-vertical>.btn,.btn-group-vertical>.btn-group,.btn-group-vertical>.btn-group>.btn {
	display:block;
	float:none;
	width:100%;
	max-width:100%
}
.btn-group-vertical>.btn-group>.btn {
	float:none
}
.btn-group-vertical>.btn+.btn,.btn-group-vertical>.btn+.btn-group,.btn-group-vertical>.btn-group+.btn,.btn-group-vertical>.btn-group+.btn-group {
	margin-top:-1px;
	margin-left:0
}
.btn-group-vertical>.btn:not(:first-child):not(:last-child) {
	border-radius:0
}
.btn-group-vertical>.btn:first-child:not(:last-child) {
	border-top-left-radius:4px;
	border-top-right-radius:4px;
	border-bottom-right-radius:0;
	border-bottom-left-radius:0
}
.btn-group-vertical>.btn:last-child:not(:first-child) {
	border-top-left-radius:0;
	border-top-right-radius:0;
	border-bottom-right-radius:4px;
	border-bottom-left-radius:4px
}
.btn-group-vertical>.btn-group:not(:first-child):not(:last-child)>.btn {
	border-radius:0
}
.btn-group-vertical>.btn-group:first-child:not(:last-child)>.btn:last-child,.btn-group-vertical>.btn-group:first-child:not(:last-child)>.dropdown-toggle {
	border-bottom-right-radius:0;
	border-bottom-left-radius:0
}
.btn-group-vertical>.btn-group:last-child:not(:first-child)>.btn:first-child {
	border-top-left-radius:0;
	border-top-right-radius:0
}
.btn-group-justified {
	display:table;
	width:100%;
	table-layout:fixed;
	border-collapse:separate
}
.btn-group-justified>.btn,.btn-group-justified>.btn-group {
	display:table-cell;
	float:none;
	width:1%
}
.btn-group-justified>.btn-group .btn {
	width:100%
}
.btn-group-justified>.btn-group .dropdown-menu {
	left:auto
}
[data-toggle=buttons]>.btn input[type=checkbox],[data-toggle=buttons]>.btn input[type=radio],[data-toggle=buttons]>.btn-group>.btn input[type=checkbox],[data-toggle=buttons]>.btn-group>.btn input[type=radio] {
	position:absolute;
	clip:rect(0,0,0,0);
	pointer-events:none
}
.input-group {
	position:relative;
	display:table;
	border-collapse:separate
}
.input-group[class*=col-] {
	float:none;
	padding-right:0;
	padding-left:0
}
.input-group .form-control {
	position:relative;
	z-index:2;
	float:left;
	width:100%;
	margin-bottom:0
}
.input-group .form-control {
	border-color:#e7e7eb;
	border-radius:0;
	text-shadow:0 0 0;
	color:#98999a!important;
	-webkit-box-shadow:0 0 0;
	box-shadow:0 0 0
}
.input-group .input-group-btn .btn {
	padding-left:12px;
	padding-right:12px;
	font-size: 14px;
	border-radius:0;
}
.input-group .form-control:focus {
	color:#e7e7eb
}
.input-group .form-control:focus {
	z-index:3
}
.input-group-lg>.form-control,.input-group-lg>.input-group-addon,.input-group-lg>.input-group-btn>.btn {
	height:46px;
	padding:10px 16px;
	font-size:18px;
	line-height:1.3333333;
	border-radius:6px
}
select.input-group-lg>.form-control,select.input-group-lg>.input-group-addon,select.input-group-lg>.input-group-btn>.btn {
	height:46px;
	line-height:46px
}
select[multiple].input-group-lg>.form-control,select[multiple].input-group-lg>.input-group-addon,select[multiple].input-group-lg>.input-group-btn>.btn,textarea.input-group-lg>.form-control,textarea.input-group-lg>.input-group-addon,textarea.input-group-lg>.input-group-btn>.btn {
	height:auto
}
.input-group-sm>.form-control,.input-group-sm>.input-group-addon,.input-group-sm>.input-group-btn>.btn {
	height:30px;
	padding:5px 10px;
	font-size:12px;
	line-height:1.5;
	border-radius:3px
}
select.input-group-sm>.form-control,select.input-group-sm>.input-group-addon,select.input-group-sm>.input-group-btn>.btn {
	height:30px;
	line-height:30px
}
select[multiple].input-group-sm>.form-control,select[multiple].input-group-sm>.input-group-addon,select[multiple].input-group-sm>.input-group-btn>.btn,textarea.input-group-sm>.form-control,textarea.input-group-sm>.input-group-addon,textarea.input-group-sm>.input-group-btn>.btn {
	height:auto
}
.input-group .form-control,.input-group-addon,.input-group-btn {
	display:table-cell
}
.input-group .form-control:not(:first-child):not(:last-child),.input-group-addon:not(:first-child):not(:last-child),.input-group-btn:not(:first-child):not(:last-child) {
	border-radius:0
}
.input-group-addon,.input-group-btn {
	width:1%;
	white-space:nowrap;
	vertical-align:middle
}
.input-group-addon {
	padding:6px 12px;
	font-size:14px;
	font-weight:400;
	line-height:1;
	text-align:center;
	background-color:#eee;
	border:1px solid #ccc;
	border-radius:4px
}
.input-group-addon.input-sm {
	padding:5px 10px;
	font-size:12px;
	border-radius:3px
}
.input-group-addon.input-lg {
	padding:10px 16px;
	font-size:18px;
	border-radius:6px
}
.input-group-addon input[type=checkbox],.input-group-addon input[type=radio] {
	margin-top:0
}
.input-group .form-control:first-child,.input-group-addon:first-child,.input-group-btn:first-child>.btn,.input-group-btn:first-child>.btn-group>.btn,.input-group-btn:first-child>.dropdown-toggle,.input-group-btn:last-child>.btn-group:not(:last-child)>.btn,.input-group-btn:last-child>.btn:not(:last-child):not(.dropdown-toggle) {
	border-top-right-radius:0;
	border-bottom-right-radius:0
}
.input-group-addon:first-child {
	border-right:0
}
.input-group .form-control:last-child,.input-group-addon:last-child,.input-group-btn:first-child>.btn-group:not(:first-child)>.btn,.input-group-btn:first-child>.btn:not(:first-child),.input-group-btn:last-child>.btn,.input-group-btn:last-child>.btn-group>.btn,.input-group-btn:last-child>.dropdown-toggle {
	border-top-left-radius:0;
	border-bottom-left-radius:0
}
.input-group-addon:last-child {
	border-left:0
}
.input-group-btn {
	position:relative;
	font-size:0;
	white-space:nowrap
}
.input-group-btn>.btn {
	position:relative
}
.input-group-btn>.btn+.btn {
	margin-left:-1px
}
.input-group-btn>.btn:active,.input-group-btn>.btn:focus,.input-group-btn>.btn:hover {
	z-index:2
}
.input-group-btn:first-child>.btn,.input-group-btn:first-child>.btn-group {
	margin-right:-1px
}
.input-group-btn:last-child>.btn,.input-group-btn:last-child>.btn-group {
	z-index:2;
	margin-left:-1px
}
.site-tp-group .btn {
	width:auto;
	text-align:center
}
.site-tp-group .btn {
	border:1px solid #e7e7eb;
	margin-left:0;
	margin-right:0
}
.site-tp-group .btn:hover {
	background-color:#18bc9c;
	color:#fff
}
.site-tp-group .btn.active {
	background-color:#18bc9c;
	color:#fff
}
.input-group .form-control {
	border-color:#e7e7eb;
	border-radius:0;
	text-shadow:0 0 0;
	color:#98999a!important;
	-webkit-box-shadow:0 0 0;
	box-shadow:0 0 0
}
.close {
	float:right;
	font-size:21px;
	font-weight:400;
	line-height:1;
	color:#000;
	text-shadow:0 1px 0 #fff;
	filter:alpha(opacity=20);
	opacity:.2
}
.close:focus,.close:hover {
	color:#000;
	text-decoration:none;
	cursor:pointer;
	filter:alpha(opacity=50);
	opacity:.5
}
button.close {
	-webkit-appearance:none;
	padding:0;
	cursor:pointer;
	background:0 0;
	border:0
}
.modal-open {
	overflow:hidden
}
.modal {
	position:fixed;
	top:0;
	right:0;
	bottom:0;
	left:0;
	z-index:1050;
	display:none;
	overflow:hidden;
	-webkit-overflow-scrolling:touch;
	outline:0
}
.modal.fade .modal-dialog {
	-webkit-transition:-webkit-transform .3s ease-out;
	-o-transition:-o-transform .3s ease-out;
	transition:transform .3s ease-out;
	-webkit-transform:translate(0,-25%);
	-ms-transform:translate(0,-25%);
	-o-transform:translate(0,-25%);
	transform:translate(0,-25%)
}
.modal.in .modal-dialog {
	-webkit-transform:translate(0,0);
	-ms-transform:translate(0,0);
	-o-transform:translate(0,0);
	transform:translate(0,0)
}
.modal-open .modal {
	overflow-x:hidden;
	overflow-y:auto
}
.modal-dialog {
	position:relative;
	width:auto;
	margin:10px
}
.modal-content {
	position:relative;
	background-color:#fff;
	-webkit-background-clip:padding-box;
	background-clip:padding-box;
	border:1px solid #999;
	border:1px solid rgba(0,0,0,.2);
	border-radius:6px;
	outline:0;
	-webkit-box-shadow:0 3px 9px rgba(0,0,0,.5);
	box-shadow:0 3px 9px rgba(0,0,0,.5)
}
.modal-backdrop {
	position:fixed;
	top:0;
	right:0;
	bottom:0;
	left:0;
	z-index:1040;
	background-color:#000
}
.modal-backdrop.fade {
	filter:alpha(opacity=0);
	opacity:0
}
.modal-backdrop.in {
	filter:alpha(opacity=50);
	opacity:.5
}
.modal-header {
	padding:25px;
	border-bottom:1px solid #e5e5e5
}
.modal-header .close {
	margin-top:-2px
}
.modal-title {
	margin:0;
	line-height:1.42857143
}
.modal-body {
	position:relative;
	padding:15px
}
.modal-footer {
	padding:15px;
	text-align:right;
	border-top:1px solid #e5e5e5
}
.modal-footer .btn+.btn {
	margin-bottom:0;
	margin-left:5px
}
.modal-footer .btn-group .btn+.btn {
	margin-left:-1px
}
.modal-footer .btn-block+.btn-block {
	margin-left:0
}
.modal-scrollbar-measure {
	position:absolute;
	top:-9999px;
	width:50px;
	height:50px;
	overflow:scroll
}
@media (min-width:768px) {
	.modal-dialog {
	width:600px;
	margin:30px auto
}
.modal-content {
	-webkit-box-shadow:0 5px 15px rgba(0,0,0,.5);
	box-shadow:0 5px 15px rgba(0,0,0,.5)
}
.modal-sm {
	width:300px
}
}@media (min-width:992px) {
	.modal-lg {
	width:900px
}
}
.form-control {
	display:block;
	width:100%;
	height:34px;
	padding:6px 12px;
	padding: 10px;
    margin: 6px 0;
	line-height:1.42857143;
	color:#555;
	background-color:#fff;
	background-image:none;
	border:1px solid #ddd;
	border-radius:4px;
	-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,.075);
	box-shadow:inset 0 1px 1px rgba(0,0,0,.075);
	-webkit-transition:border-color ease-in-out .15s,-webkit-box-shadow ease-in-out .15s;
	-o-transition:border-color ease-in-out .15s,box-shadow ease-in-out .15s;
	transition:border-color ease-in-out .15s,box-shadow ease-in-out .15s
}
.form-control:focus {
	border-color:#18bc9c;
	outline:0;
	-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,.075),0 0 8px rgba(102,175,233,.6);
	box-shadow:inset 0 1px 1px rgba(0,0,0,.075),0 0 8px rgba(102,175,233,.6)
}
.form-control::-moz-placeholder {
	color:#999;
	opacity:1
}
.form-control:-ms-input-placeholder {
	color:#999
}
.form-control::-webkit-input-placeholder {
	color:#999
}
.form-control::-ms-expand {
	background-color:transparent;
	border:0
}
.form-control[disabled],.form-control[readonly],fieldset[disabled] .form-control {
	background-color:#eee;
	opacity:1
}
.form-control[disabled],fieldset[disabled] .form-control {
	cursor:not-allowed
}
input[type="text"], input[type="password"], input.text, input.password { font: 12px/20px Arial; color: #777; background-color: #FFF; vertical-align: top; display: inline-block; height: 20px; padding: 10px; border: solid 1px #CCC; outline: 0 none;}
</style>
<div class="fui-page fui-page-current" ng-if="pagedata.op=='apply'" style="background:#fff">
<div class='fui-content'>
	<div class="fui-cell-group"> 
		<div class="fui-cell">
			<div class="fui-cell-label" style="width: 120px;"><span class="re-g">申请退换货方式？</span></div>
			<div class="fui-cell-info">
			</div>
			<div class="fui-cell-remark">
				<select id="applytype" ng-model="pagedata.item.type" ng-init="pagedata.item.type='0'">
					<option ng-repeat="(key,value) in pagedata.refund_types" value="{{key}}" ng-selected="pagedata.item.type==key">申请{{value}}</option>
				</select>
			</div>
		 </div>
	</div>
	<div ng-if="pagedata.item.type==1 || pagedata.item.type==2" class="fui-cell-group">       
        <div class="fui-cell">
            <div class="fui-cell-label">{{pagedata.item.type==1?'退换货':'退货'}}说明</div>
            <div class="fui-cell-info c000" >
                <input type="text" class='fui-input' placeholder="选填" ng-model="pagedata.item.content"/>
            </div>
        </div>
		<div ng-if="pagedata.order.status!=1" class="fui-cell">
			<div class="fui-cell-label">上传凭证</div>
				<div class="fui-cell-info">
					<ul class="fui-images fui-images-sm" id="images">
						<div ng-repeat="image in pagedata.item.images track by $index">
						
						<li style="background-image:url({{tomedia(image)}})" class="image image-sm"><span class="image-remove"><i class="icon icon-close"></i></span></li>
						</div>

					</ul>
					<div  class="fui-uploader fui-uploader-sm refund-container-uploader" ng-click="images(pagedata.item,'images')">  
				</div>
			</div>
		</div>
	</div>
    <div ng-if="pagedata.item.type==0 || pagedata.item.type==3" class="fui-cell-group">       
        <div class="fui-cell">
            <div class="fui-cell-label">退款说明</div>
            <div class="fui-cell-info c000" >
                <input type="text" class='fui-input' placeholder="选填" ng-model="pagedata.item.content"/>
            </div>
        </div>
		<div  class="fui-cell r-group">
			<div class="fui-cell-label">退款金额</div>
			<div class="fui-cell-info c000" style="display: -webkit-box;display: -webkit-flex;display: -ms-flexbox;display: flex;-webkit-box-align: center;-webkit-align-items: center;-ms-flex-align: center;align-items: center;">
				￥<input type="text" id="price" class='fui-input' placeholder="请输入需要退的金额" ng-model="pagedata.item.price" />
			</div>
		</div>
		<div class="fui-cell">
			<div class="fui-cell-label">上传凭证</div>
			<div class="fui-cell-info">
				<ul class="fui-images fui-images-sm" id="images">
					<div ng-repeat="image in pagedata.item.images track by $index">                
						<li style="background-image:url({{tomedia(image)}})" class="image image-sm" ><span class="image-remove"><i class="icon icon-close"></i></span></li>
					</div>
				</ul>
				<div  class="fui-uploader fui-uploader-sm refund-container-uploader" ng-click="images(pagedata.item,'images')">           
				</div>
			</div>
		</div>
		<div class='fui-title r-group'>
		<span class='text-danger'>*提示:您可退款的最大金额为￥{{pagedata.order.price}}</span>
		</div>
	</div>
	<div ng-if="pagedata.item.type==4" class="fui-cell-group">       
        <div class="fui-cell">
            <div class="fui-cell-label">退运费说明</div>
            <div class="fui-cell-info c000" >
                <input type="text" class='fui-input' placeholder="选填" ng-model="pagedata.item.content"/>
            </div>
        </div>
		<div class="fui-cell r-group">
			<div class="fui-cell-label">退运费金额</div>
			<div class="fui-cell-info c000" style="display: -webkit-box;display: -webkit-flex;display: -ms-flexbox;display: flex;-webkit-box-align: center;-webkit-align-items: center;-ms-flex-align: center;align-items: center;">
				￥ {{pagedata.item.dispatchprice || '0.00'}}
			</div>
		</div>
		<div ng-if="pagedata.order.status!=1" class="fui-cell">
			<div class="fui-cell-label">上传凭证</div>
				<div class="fui-cell-info">
					<ul class="fui-images fui-images-sm" id="images">
						<div ng-repeat="image in pagedata.item.images track by $index">
						
						<li style="background-image:url({{tomedia(image)}})" class="image image-sm"><span class="image-remove"><i class="icon icon-close"></i></span></li>
						</div>

					</ul>
					<div  class="fui-uploader fui-uploader-sm refund-container-uploader" ng-click="images(pagedata.item,'images')">  
				</div>
			</div>
		</div>
		<div class='fui-title r-group'>
		<span class='text-danger'>*提示:您可退运费的最大金额为￥{{pagedata.order.dispatchprice || '0.00'}}</span>
		</div>
	</div>
</div>
<div class='text-right'>
    <a class='btn btn-sm btn-danger-o btn-submit' ng-click="post(pagedata.item,pagedata.op)">提交申请</a>
    <a class="btn btn-sm btn-default-o back" ng-click="goback()">取消</a>
</div>
</div>
<div class='fui-page' id='page-refund-express' ng-if="pagedata.op=='send'">
    <div class='fui-content margin'>
       
        <div class="fui-cell-group">
            <h3 class='fui-cell-title red'>填写快递单号</h3>
            <div class="fui-cell">
                <div class="fui-cell-label">快递公司</div>
                <div class="fui-cell-info"><select ng-model="pagedata.item.com">
                    <option value="0" data-name="其他快递">其他快递</option>
                    <option ng-repeat="value in pagedata.express_types" value="{{value.name}}" >{{value.name}}</option>
                </select></div>
            </div>
            <div class="fui-cell">
                <div class="fui-cell-label">快递单号</div>
                <div class="fui-cell-info"><input type="text" ng-model="pagedata.item.sn" class='fui-input' max="50"/></div>
            </div>
        </div>

    </div>
    <div class='text-right'>
        <div class="btn btn-sm btn-danger-o" id='express_submit'ng-click="post(pagedata.item,pagedata.op)">提交快递单号</div>
        <a class="btn btn-sm btn-default-o back" ng-click="goback()">返回</a>
    </div>
</div>
</div>
</div>
</div>